package com.evan.webadmin.biz.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.evan.common.core.base.model.BaseModel;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Pavel
 * @since 2024-06-10
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("biz_exam")
public class Exam extends BaseModel {

    private static final long serialVersionUID = 1L;

    @TableId(value = "exam_id", type = IdType.AUTO)
    private Long examId;

    @TableField("exam_type")
    private Integer examType;

    @TableField("exam_level")
    private int examLevel;

    @TableField("personnel_type")
    private Integer personnelType;

    @TableField("user_id")
    private String userId;

    @TableField("user_name")
    private String userName;

    @TableField("correct_count")
    private Integer correctCount;

    @TableField("subject_count")
    private Integer subjectCount;
    @TableField("user_answer")
    private String userAnswer;

    @TableField("pass_able")
    private Boolean passAble;

    private Integer score;

    @TableField("module_type")
    private Integer moduleType;

    @TableField("scene_type")
    private Integer sceneType;

    @TableField("exam_mode")
    private Integer examMode;

    @TableField("paper_id")
    private Long paperId;

    @TableField("delete_flag")
    private Long deleteFlag;
}
